package com.tang.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tang.reggie.common.R;
import com.tang.reggie.pojo.Employee;

public interface EmployeeService extends IService<Employee> {

    //登录
    R login(Employee employee);

    //添加
    boolean addEmployee(Employee employee);

    //查询
    Page<Employee> find(int page, int pageSize, String name);
}
